package com.anche.cywebnew.Pojo.systemManager;

import com.anche.cywebnew.Utils.annotation.DV;

import java.util.Date;

public class SysResource {
    private String id;

    @DV(description="资源名称",maxLength=30,nullable=false)
    private String name;

    @DV(description="访问地址",maxLength=100,nullable=true)
    private String url;

    private String description;

    @DV(description="图标名称",maxLength=32)
    private String icon;

    private String pid;

    private Integer seq;

    private Integer status;

    @DV(description="资源类型",maxLength=2,nullable=false)
    private Integer resourcetype;

    private String code;

    private Date createdate;

    private Integer regroup;

    private String ispolice;

    private String iscore;

    private String isnormal;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getResourcetype() {
        return resourcetype;
    }

    public void setResourcetype(Integer resourcetype) {
        this.resourcetype = resourcetype;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getRegroup() {
        return regroup;
    }

    public void setRegroup(Integer regroup) {
        this.regroup = regroup;
    }

    public String getIspolice() {
        return ispolice;
    }

    public void setIspolice(String ispolice) {
        this.ispolice = ispolice;
    }

    public String getIscore() {
        return iscore;
    }

    public void setIscore(String iscore) {
        this.iscore = iscore;
    }

    public String getIsnormal() {
        return isnormal;
    }

    public void setIsnormal(String isnormal) {
        this.isnormal = isnormal;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}
